﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;

/// <summary>
/// Category 的摘要说明
/// </summary>
public class Category
{
    public Category() { }

    public List<DB_Category> GetAll()
    {
        DataTable dt = DBHelper.GetDataTable("select id,name,flag,parent,sort from DB_Category");
        List<DB_Category> list = ManageBase<DB_Category>.GetList(dt);
        return list;
    }
}